package com.atguigu.gulimall.search.service;

import com.atguigu.gulimall.search.vo.SearchParams;
import com.atguigu.gulimall.search.vo.SearchResult;

/**
 * @Note  对搜索条件与ES交互
 */
public interface MallSearchService {

    /**
     * 根据前台搜索条件、检索ES、返回检索结果
     * @param params
     * @return
     */
    SearchResult searchParams(SearchParams params);
}
